package exp;

import java.io.*;

import exp.logger.IResultLogger;
import exp.logger.LoggerException;
import exp.logger.SimpleLogger;


public class SimpleExperiment extends Experiment {
	
	private IResultLogger logger;
	
	public SimpleExperiment(String logFile) throws IOException{
		logger = new SimpleLogger(logFile);
	}

	@Override
	public void readFromFile(String file) {
	}

	@Override
	public void reset() throws LoggerException{
		logger.restartExp();
	}
	
	@Override
	public void takeRight() throws LoggerException{
		logger.turnRight();
	}
	
	@Override
	public void takeLeft() throws LoggerException{
		logger.turnLeft();
	}
}
